
<script>
export default {
    name: 'RenderColumn',
    props: {
        column: { type: Object, default: null },
        row: { type: Object, default: null },
        index: { type: Number, default: null }
    },
    data() {
        return {}
    },
    render: function(createElement) {
        const cellValue = this.column.funcFormatter(createElement, this.row, this.column, this.row[this.column.field], this.index, this.$vnode.context)

        return cellValue
    }
}
</script>
